package com.yckj.activechicken.business.hr.mapper;

import com.yckj.activechicken.business.hr.model.HrLeave;
import com.yckj.activechicken.business.hr.model.HrLeaveExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HrLeaveMapper {
    long countByExample(HrLeaveExample example);

    int deleteByExample(HrLeaveExample example);

    int deleteByPrimaryKey(Integer leaveId);

    int insert(HrLeave record);

    int insertSelective(HrLeave record);

    List<HrLeave> selectByExample(HrLeaveExample example);

    HrLeave selectByPrimaryKey(Integer leaveId);

    int updateByExampleSelective(@Param("record") HrLeave record, @Param("example") HrLeaveExample example);

    int updateByExample(@Param("record") HrLeave record, @Param("example") HrLeaveExample example);

    int updateByPrimaryKeySelective(HrLeave record);

    int updateByPrimaryKey(HrLeave record);
}